<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:include page="/admin/view/main/header.jsp"/>

<!-- business code start -->

<form id="frm_login_adinfo" action="/adManager/addAdInfo.action" method="post" enctype="multipart/form-data" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td width="10%" class="tableleft">广告类型</td>
        <td><select name="type">
        		<option value = '0'>活动资讯</option>
        		<option value = '1'>滑屏广告</option>
        		<option value = '2'>词条广告</option>
        	</select>
        </td>
    </tr>
    <tr>
        <td class="tableleft">商家名称</td>
        <td><input type="text" name="businessName"/></td>
    </tr>
    <tr>
        <td class="tableleft">用户QQ</td>
        <td><input type="text" name="userQq"/></td>
    </tr>
    <tr>
        <td class="tableleft">用户电话</td>
        <td><input type="text" name="phone"/></td>
    </tr>
    <tr>
        <td class="tableleft">备用电话</td>
        <td><input type="text" name="telephone"/></td>
    </tr>
    <tr>
        <td class="tableleft">用户地址</td>
        <td><input type="text" name="userAddress"/></td>
    </tr>
    <tr>
        <td class="tableleft">主营业务</td>
        <td><textarea name="businessScope"></textarea></td>
    </tr>
    <tr>
        <td class="tableleft">描述</td>
        <td><textarea name="businessDescription"></textarea></td>
    </tr>
    <tr>
        <td class="tableleft">附件</td>
        <td>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        	<input type="file" name="myfiles"/>
        </td>
    </tr>
    <tr>
        <td class="tableleft"></td>
        <td>
            <input type="submit" class="btn btn-primary" value="保存"/> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>
<!-- business code end -->

<jsp:include page="/admin/view/main/footer.jsp"/>

<script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="<%=request.getContextPath()%>/admin/view/technology/adinfo/adinfolist.jsp";
		 });

    });
</script>

<script src="<%=request.getContextPath()%>/admin/js/business/technology/adinfo/adinfo.js"></script>
